package com.zmj.sy.mom.srv.aps.bean.vo.apsworkdetail;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
public class ApsWorkDetailPubListResVo {

    private Integer id;


    @ApiModelProperty("订单编号")
    private String orderCode;

    @ApiModelProperty("施工号")
    private String constructNo;

    @ApiModelProperty("工位编号")
    private String stationCode;

    @ApiModelProperty("工位名称")
    private String stationName;

    @ApiModelProperty("工作组编号")
    private String groupCode;

    @ApiModelProperty("工作组名称")
    private String groupName;

    @ApiModelProperty("工单号")
    private String workOrderCode;

    @ApiModelProperty("物料编号")
    private String materNo;

    @ApiModelProperty("物料名称")
    private String materName;

    @ApiModelProperty("工序名称")
    private String phaseName;

    @ApiModelProperty("工序编号")
    private String phaseCode;

    @ApiModelProperty("计划开始时间")
    private LocalDateTime planStartDateTime;

    @ApiModelProperty("计划完成时间")
    private LocalDateTime planEndDateTime;

    @ApiModelProperty("PLM")
    private String plmId;

    @ApiModelProperty("工单状态 1未启用 2未开工 3开工中 4已完成")
    private Integer status;

    @ApiModelProperty("此详情需要做的数量")
    private BigDecimal totalCount;

    @ApiModelProperty("完工数量")
    private BigDecimal finishCount;

    @ApiModelProperty("实际开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime actualStartDateTime;

    @ApiModelProperty("实际完工时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime actualFinishDateTime;
}
